<?php

declare(strict_types=1);

namespace App\CustHub\Model;

use Mine\MineModel;

/**
 * @property int $id 
 * @property int $uid 
 * @property int $main_uid 
 * @property int $corp_id 企业ID
 * @property string $robot_id 企微号微信ID
 * @property int $type 类型
 * @property array $value 配置内容
 * @property \Carbon\Carbon $created_at 创建时间
 * @property \Carbon\Carbon $updated_at 更新时间
 */
class ChSendConfig extends MineModel
{
    /**
     * The table associated with the model.
     */
    protected ?string $table = 'ch_send_config';

    /**
     * The attributes that are mass assignable.
     */
    protected array $fillable = ['id', 'uid', 'main_uid', 'corp_id', 'robot_id', 'type', 'value', 'created_at', 'updated_at'];

    /**
     * The attributes that should be cast to native types.
     */
    protected array $casts = ['id' => 'integer', 'uid' => 'integer', 'main_uid' => 'integer', 'corp_id' => 'integer', 'type' => 'integer', 'value' => 'array', 'created_at' => 'datetime', 'updated_at' => 'datetime'];
}
